			<?php
			error_reporting(0);
			require 'header.php';
			echo "<div class='panel-body text-center'>";
			if(!file_exists('./install/ok.lock')){
				echo '当前程序安装未完成,前往&nbsp;&nbsp;||'."<a href='./install' class='text-main'>安装</a>";
			}else{
				echo "
    				<div class='has-success input-group' style='margin:0 auto 0 auto;'>
			<form action='result.php' method='post'>
			    <input class='form-control' type='text' placeholder='用户名' name='username' value=$_COOKIE[name]>
			<br/><br/>
			<input class='form-control' type='password' placeholder='密码' name='userpasswd' value=$_COOKIE[passwd]>
			<br/><br/>
			<span class='label label-success'>输入正确的帐号密码才能登录成功</span>
			<br/><br/>
			<input type='submit' value='登录' class='btn btn-danger' name='send'>
			</form>
			</div>
    					";
			}
			require 'footer.php';
